package com.xique.door.device.freeview.bean.domain;


import com.xique.common.core.annotation.Excel;
import com.xique.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 全视通事件参数对象 t_door_event_param
 * 
 * @author caogq
 * @date 2021-10-21
 */
public class FreeviewEventParam extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 事件id */
    @Excel(name = "事件id")
    private String eventId;

    /** 请求参数（记录发送通知时的请求参数） */
    @Excel(name = "请求参数", readConverterExp = "记=录发送通知时的请求参数")
    private String param;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setEventId(String eventId) 
    {
        this.eventId = eventId;
    }

    public String getEventId() 
    {
        return eventId;
    }
    public void setParam(String param) 
    {
        this.param = param;
    }

    public String getParam() 
    {
        return param;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("eventId", getEventId())
            .append("param", getParam())
            .toString();
    }
}
